package com.ming.dao;

import com.ming.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StudentDao {
    List<Student> list();
    boolean insertStudent(Student student);
    boolean updateStudentSex1(@Param("id") String id);
    boolean updateStudentSex0(@Param("id") String id);

    boolean deleteStudent(@Param("id") String id);
}
